package com.yunsc.product.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunsc.media.entity.YunscUploadFileEntity;
import com.yunsc.product.entity.YunscGoodsCategoryEntity;
import lombok.Data;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-04-14 0:40
 */
@Data
public class GoodsCategoryVO extends YunscGoodsCategoryEntity {
    /**
     * 商品图片
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private YunscUploadFileEntity image;
    /**
     * 子分类
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<GoodsCategoryVO> children;
}
